﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Vav.Data.QQ
{
    public class ErrorResponse
    {
        public int errcode;
        public string errmsg;
    }
    public class GetcallbackipResponse : ErrorResponse
    {
        public List<string> ip_list;
    }

    public class AccessResponse : ErrorResponse
    {
        public string access_token;
        public string expires_in;
    }
    public class WebAccessResponse : ErrorResponse
    {
        public string access_token;
        public string expires_in;
        public string refresh_token;
        public string openid;
        public string scope;
    }
    public class PubUserInfoResponse : ErrorResponse
    {
        public string openid;
        public string nickname;
        public string sex;
        public string province;
        public string city;
        public string country;
        public string headimgurl;
        public List<string> privilege;
        public string unionid;
    }
    public class ProUserUnionId : ErrorResponse
    {
        public string openid;
        public string session_key;
        public string unionid;
    }
    public class ProUserInfo
    {
        public string openid;
        public string nickName;
        public int gender;
        public string city;
        public string province;
        public string country;
        public string avatarUrl;
        public string unionId;
        public watermark watermark;
    }
    public class watermark
    {
        public string appid;
        public int timestamp;
    }
    public class SendMsg : ErrorResponse
    {
        public string msgid;
    }
}
